package com.aioz.security.service;

import com.aioz.security.common.ResponseResult;
import com.aioz.security.entity.Position;
import com.aioz.security.entity.dto.PositionDto;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Aioz
 * @since 2022-09-27
 */
public interface PositionService extends IService<Position> {

    ResponseResult getPositionByCompanyId(Integer companyId,Integer currentPage);

    ResponseResult likePosition(Integer id);

    ResponseResult hotTopPosition(Integer currentPage);

    ResponseResult likePositionByCategory(String category);

    ResponseResult interestPosition(Integer positionId);

    ResponseResult getInterestPosition();

    ResponseResult likePositionByName(String name,Integer id);

    ResponseResult addPosition(Position position);

    ResponseResult stopRecruit(Integer positionId);

    ResponseResult updatePositionInfo(PositionDto position);


}
